package org.openrisk.domain;

import java.util.Date;

import javax.persistence.AttributeOverride;
import javax.persistence.Column;
import javax.persistence.Entity;

@Entity
@AttributeOverride(column = @Column(name="startDate"), name = "birthDate")
public class NaturalPerson extends BasePerson {

	private static final long serialVersionUID = 635075470077651835L;

	public Date getBirthDate() {
		return getStartDate();
	}
	
	public Date getDeathDate() {
		return getDeathDate();
	}
	
}
